package cn.wolfcode.wolf2w.search.domian;

import cn.wolfcode.wolf2w.domain.Destination;
import cn.wolfcode.wolf2w.domain.Strategy;
import cn.wolfcode.wolf2w.domain.Travel;
import cn.wolfcode.wolf2w.domain.UserInfo;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *封装用户 游记 攻略 数据
 */
@Getter
@Setter
public class SearchResultVO implements Serializable{

    // 用户集合
    private List<UserInfo> users = new ArrayList<>();
    // 游记集合
    private List<Travel> travels = new ArrayList<>();
    // 攻略集合
    private List<Strategy> strategys = new ArrayList<>();
    // 攻略集合
    private List<Destination> destinations = new ArrayList<>();
    // 用户+游记+攻略+目的地
    private Long totalResult = 0L;
}
